/*
 * Main.fx
 *
 * Created on 04/06/2011, 09:19:44 PM
 */

package proyecto;

/**
 * @author Personal
 */
public class Main {

    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:main
    public-read def label: javafx.scene.control.Label = javafx.scene.control.Label {
        layoutX: 194.0
        layoutY: 138.0
        text: "Label"
    }
    
    public-read def button: javafx.scene.control.Button = javafx.scene.control.Button {
        layoutX: 131.0
        layoutY: 91.0
        text: "Button"
    }
    
    public-read def menu: com.javafx.preview.control.Menu = com.javafx.preview.control.Menu {
        layoutX: 295.0
        layoutY: 38.0
        text: "Menu"
    }
    
    public-read def circle: javafx.scene.shape.Circle = javafx.scene.shape.Circle {
        layoutX: 246.0
        layoutY: 85.0
        fill: javafx.scene.paint.Color.WHITE
        radius: 25.0
    }
    
    public-read def scene: javafx.scene.Scene = javafx.scene.Scene {
        width: 480.0
        height: 320.0
        content: getDesignRootNodes ()
        fill: javafx.scene.paint.Color.BLACK
    }
    
    public-read def currentState: org.netbeans.javafx.design.DesignState = org.netbeans.javafx.design.DesignState {
    }
    
    public function getDesignRootNodes (): javafx.scene.Node[] {
        [ label, button, menu, circle, ]
    }
    
    public function getDesignScene (): javafx.scene.Scene {
        scene
    }
    // </editor-fold>//GEN-END:main

}

function run (): Void {
    var design = Main {};

    javafx.stage.Stage {
        title: "Main"
        scene: design.getDesignScene ()
    }
}
